package com.ouc.openplatform.zykt.standardManage.service;


import java.util.List;

import com.ouc.openplatform.zykt.standardManage.model.NJ_TestItemTemplet;
import com.ouc.openplatform.zykt.standardManage.model.NJ_TestStandardSubiterm;



public interface NJ_TestStandardSubitermService {
	public List<NJ_TestStandardSubiterm> searchAllTestStandardSubiterm(int standardItermID);	//查询标准子项
	public int insertTestStandardSubiterm(NJ_TestStandardSubiterm subiterm);					//增加标准子项
	public int editTestStandardSubiterm(NJ_TestStandardSubiterm subiterm);				//修改标准子项
	public int deleteTestStandardSubiterm(int id,int standarditermid);											//删除标准子项
	public int updateItemTime(int id);//更新item_cycle
	
	public int checkName(NJ_TestStandardSubiterm subiterm);//检查标准子项名称是否存在
	
	public List<NJ_TestItemTemplet> getItemidByName(String name);//按名称查找标准项ID
	public String getUsernoByName(String name);//按用户姓名查找ID
	
	public int importByExcel(NJ_TestStandardSubiterm subiterm);
	
	public int insertTest(NJ_TestStandardSubiterm subiterm);
	
}
